Changed type to library (from cakephp plugin).