added magic getter to extension#