Moved list of As function outside of class