Handles void-return methods.