moving extensions to core