Remove a few logging statements, uncomment the actual casting action