Added an actual implementation for mas_ relation methods