Change magic property to normal method. (Thanks to @maxlapko.)