Added function callbacks; v1.0.1