Updated composer file and added new functions.