Implement native methods.