Add infrastructure for native stdlib-methods.