Create behavior for method.