Removed return types from handler functions, since we don't statically have enough type information to do anything with them.