removed state parameter that was being sent to callbacks, which is not rails 4 compatible.