Added ICallback interface for adding dynamic callbacks