Initial code for building custom extensions