Created methods for possibly querying direct from database.