expose getAttributes and getUniforms via prototype