Fixed minor syntax bugs.