Remove context from database model