<?php

namespace Phuby;

class Base64 {
    static function initialized($self) {
        $self->extend('self');
    }

    function decode64($string) {
        return base64_decode($string);
    }

    function encode64($string) {
        return base64_encode($string);
    }
}
<?php

namespace Phuby {
    class Base64 {
        static function initialized($self) {
            $self->extend('self');
            $self->include(__CLASS__.'\InstanceMethods');
        }
    }
}

namespace Phuby\Base64 {
    class InstanceMethods {
        function decode64($string) {
            return base64_decode($string);
        }

        function encode64($string) {
            return base64_encode($string);
        }
    }
}
Move Base64 logic into InstanceMethods module
Move Base64 logic into InstanceMethods module
