Loader interface and refactoring