Split the 'as' method into a module