Moved transitions to a static file so these methods doesn't have to be created in every file