Changes 'compiler' to work with any type