Add check for kRPC methods defined in kRPC class, fix mistake in comments