Refactor component loading and method names.