Add brackets to method definitions