Allowed callbacks, removed console.logs, formatting.