Fixed phpspec issues.