added support for custom methods in data loader scripts.