Added some basic functions for composer