Fixed code formatting for abstract model and typos