Fix undefined method error
Use composer package